import LoadComponentUtil from '@/platform/commons/utils/load-component-util';

export default [
    {
        path: '/app',
        exact: true,
        meta: {
            title: '主页'
        },
        component: LoadComponentUtil.load(import(/* webpackChunkName: "Home" */ '@/platform/views/home/Home'))
    },
    {
        path: '/app/userList',
        meta: {
            title: '用户管理'
        },
        component: LoadComponentUtil.load(import(/* webpackChunkName: "UserList" */ '@/platform/views/user/UserList'))
    }, {
        path: '*',
        meta: {
            title: '404'
        },
        component: LoadComponentUtil.load(import(/* webpackChunkName: "NotFound" */ '@/platform/views/error-page/NotFound'))
    }
]
